package com.im.service.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author liuzhiqiang
 */
@Data
@ApiModel(value = "ImChatDTO", description = "ImChatDTO")
public class ImChatDTO {


    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("目标ID")
    private Long targetUserId;

    @ApiModelProperty("类型 1 人 2 群组")
    private Integer type;

    @ApiModelProperty("最后的一条消息")
    private String lastMessage;

}
